function prinitPoint(point: { x: number; y: number }, z?: number) {
  console.log(point.x);
  console.log(point.y);
  console.log(z);
}

prinitPoint({ x: 123, y: 123 });
prinitPoint({ x: 123, y: 123 }, 111);

export {};
